package basic.w2;

public class Circle {
    double r;

    public Circle() {

    }

    public Circle(double r) {
        this.r = r;
    }

    public double calcArea() {
        return r*r*Math.PI;
    }
    public double calcPer() {
        return 2*r*Math.PI;
    }
}
